Adam Weinberger [Wed, 24 Mar 2004 06:28:40 +0000 (06:28 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Denis Lackovic [Wed, 24 Mar 2004 04:48:44 +0000 (04:48 +0000)]
*** empty log message ***
J. Ali Harlow [Mon, 22 Mar 2004 21:28:07 +0000 (21:28 +0000)]
Ignore empty volume labels; assume that GetVolumeInformation would fail if
2004-03-22 J. Ali Harlow <ali@juiblex.co.uk>
* gtk/gtkfilesystemwin32.c
(gtk_file_system_win32_volume_get_display_name): Ignore empty
volume labels; assume that GetVolumeInformation would fail if
GetVolumeInformationW does; catches a small memory leak;
pass the buffer size to GetVolumeInformationW in wide
characters instead of bytes. Fixes bug #137543
(list_volumes): Cope with the theoretical possibility of
more than 26 logical drives. Fixes bug #137940
(bookmarks_serialize): Now actually removes bookmarks.
Fixes bug #137943
Guntupalli Karunakar [Mon, 22 Mar 2004 11:23:13 +0000 (11:23 +0000)]
Added punjabi translation
Guntupalli Karunakar [Mon, 22 Mar 2004 11:17:22 +0000 (11:17 +0000)]
added punjabi translation
Tor Lillqvist [Sun, 21 Mar 2004 22:06:37 +0000 (22:06 +0000)]
Include the backslash. Otherwise gtk_file_system_win32_path_to_uri()
2004-03-21 Tor Lillqvist <tml@iki.fi>
* gtk/gtkfilesystemwin32.c
(gtk_file_system_win32_volume_get_base_path): Include the
backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
NULL for a volume base path, as g_filename_to_uri() requires an
absolute path, and just a drive letter and colon isn't. (#137543)
Alastair McKinstry [Sun, 21 Mar 2004 21:06:07 +0000 (21:06 +0000)]
Updated Irish translation
Åsmund Skjæveland [Sun, 21 Mar 2004 20:37:28 +0000 (20:37 +0000)]
Updated Norwegian Nynorsk translation.
2004-03-21 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Denis Lackovic [Sun, 21 Mar 2004 17:13:33 +0000 (17:13 +0000)]
*** empty log message ***
Zygimantas Berucka [Sun, 21 Mar 2004 13:59:19 +0000 (13:59 +0000)]
Updated Lithuanian translation.
2004-03-21 Zygimantas Berucka <uid0@akl.lt>
* lt.po: Updated Lithuanian translation.
Denis Lackovic [Sun, 21 Mar 2004 08:22:21 +0000 (08:22 +0000)]
*** empty log message ***
Hans Breuer [Sat, 20 Mar 2004 23:45:35 +0000 (23:45 +0000)]
applied the undisputable and required [due to recent gtkfilesystem
2004-03-20 Hans Breuer <hans@breuer.org>
* gtk/gtkfilesystemwin32.c : applied the undisputable and
required [due to recent gtkfilesystem internal api semantic
changes] part of patches to fix bug #137543 (Tor Lillqvist,
J. Ali Harlow)
* gdk/gdkevents-win32.c (handle_configure_event) :
(gdk_event_translate), WM_WINDOWPOSCHANGED : initialize
GdkWindowObject::x, y with screen coords to make
gdk_window_get_position () return the right thing and thus fix
drag and drop positioning (e.g. Gimp tabs, fixes bug #137192)
Baris Cicek [Sat, 20 Mar 2004 17:50:07 +0000 (17:50 +0000)]
Updated Turkish translation
Raymond Penners [Sat, 20 Mar 2004 11:42:30 +0000 (11:42 +0000)]
Renamed GTK-Wimp to MS-Windows Engine
Federico Mena Quintero [Fri, 19 Mar 2004 21:16:24 +0000 (21:16 +0000)]
Revert the patch to #137520, as 2.4.1 is for conservative bug fixes only.
2004-03-19 Federico Mena Quintero <federico@ximian.com>
* Revert the patch to #137520, as 2.4.1 is for conservative bug
fixes only. The patch is attached to the bug report, for
reference.
2004-03-19 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c
Morten Welinder [Fri, 19 Mar 2004 20:18:09 +0000 (20:18 +0000)]
Test existance of the path after checking for locality, if needed.
2004-03-19 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): Test existance of
the path after checking for locality, if needed.
Federico Mena Quintero [Fri, 19 Mar 2004 19:41:06 +0000 (19:41 +0000)]
Fix #137520.
2004-03-19 Federico Mena Quintero <federico@ximian.com>
Fix #137520.
* gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
for an ::is_finished_loading() method and a ::finished_loading()
signal at the end of the struct.
* gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
"finished-loading" signal.
(gtk_file_folder_is_finished_loading): New function.
* gtk/gtkfilesystemunix.c
(gtk_file_folder_unix_is_finished_loading): Implement.
* gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
slot for a "finished-loading" signal.
(gtk_file_system_model_class_init): Create the "finished-loading"
signal.
(struct _GtkFileSystemModel): New field
idle_finished_loading_source. We emit the "finished-loading"
signal in an idle if the root folder was done loading right in
_gtk_file_system_model_new(), so that the caller has a chance to
connect to the signal.
(_gtk_file_system_model_new): Connect to the normal signals of the
folder even if the initial _list_children() fails. Also, see if
the folder is finished loading; connect to the "finished-loading"
signal otherwise.
(gtk_file_system_model_finalize): Remove the idle handler.
* gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
and connect to the model's "finished-loading" signal.
(get_toplevel): New helper function.
(error_message): Use get_toplevel().
(trap_activate_cb): Likewise.
(location_popup_handler): Likewise.
(set_busy_cursor): New function.
(browse_files_model_finished_loading_cb): New callback.
Dmitry Mastrukov [Fri, 19 Mar 2004 10:35:56 +0000 (10:35 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Arafat Medini [Fri, 19 Mar 2004 07:03:55 +0000 (07:03 +0000)]
Updated Arabic translation.
2004-03-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Updated Arabic translation.
Danilo Šegan [Fri, 19 Mar 2004 06:46:30 +0000 (06:46 +0000)]
Updated Serbian translations.
Arafat Medini [Thu, 18 Mar 2004 21:55:50 +0000 (21:55 +0000)]
Updated Arabic translation.
2004-03-18 Arafat Medini <lumina@silverpen.de>
* ar.po: Updated Arabic translation.
Dafydd Harries [Thu, 18 Mar 2004 19:00:40 +0000 (19:00 +0000)]
Updated Welsh translation.
Owen Taylor [Thu, 18 Mar 2004 18:53:19 +0000 (18:53 +0000)]
Include eventbox for expander. (#137564, reported by Jacques Garrigue)
Thu Mar 18 12:10:45 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreeitem.c (gtk_tree_item_forall): Include
eventbox for expander. (#137564, reported by
Jacques Garrigue)
Ole Laursen [Thu, 18 Mar 2004 16:56:11 +0000 (16:56 +0000)]
Updated Danish translation.
2004-03-18 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Owen Taylor [Thu, 18 Mar 2004 15:09:55 +0000 (15:09 +0000)]
Fix ./-> typo. (Federic Crozat)
Thu Mar 18 10:07:15 2004 Owen Taylor <otaylor@redhat.com>
* pixbuf-draw.c (match_theme_image): Fix ./-> typo.
(Federic Crozat)
Nikos Charonitakis [Thu, 18 Mar 2004 13:36:52 +0000 (13:36 +0000)]
Updated Greek translation
Guntupalli Karunakar [Thu, 18 Mar 2004 11:15:39 +0000 (11:15 +0000)]
Added Marathi translations
Guntupalli Karunakar [Thu, 18 Mar 2004 11:05:29 +0000 (11:05 +0000)]
Added Marathi transnlations
Mətin Əmirov [Thu, 18 Mar 2004 10:44:13 +0000 (10:44 +0000)]
Translation updated.
2004-03-18 Mətin Əmirov <metin@karegen.com>
* az.po: Translation updated.
Sayamindu Dasgupta [Thu, 18 Mar 2004 05:59:58 +0000 (05:59 +0000)]
Updated Bengali translation
Dmitry Mastrukov [Thu, 18 Mar 2004 04:42:01 +0000 (04:42 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Gustavo Noronha Silva [Wed, 17 Mar 2004 23:52:44 +0000 (23:52 +0000)]
updated translation.
* pt_BR.po: updated translation.
Morten Welinder [Wed, 17 Mar 2004 21:52:29 +0000 (21:52 +0000)]
Free volumes not actually put into the shortcut list.
2004-03-17 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free
volumes not actually put into the shortcut list.
Owen Taylor [Wed, 17 Mar 2004 21:43:47 +0000 (21:43 +0000)]
Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Wed Mar 17 16:38:00 2004 Owen Taylor <otaylor@redhat.com>
* pixbuf-draw.c (match_theme_image): Fix problem with
NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Morten Welinder [Wed, 17 Mar 2004 21:38:58 +0000 (21:38 +0000)]
Plug leak.
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
Morten Welinder [Wed, 17 Mar 2004 19:01:00 +0000 (19:01 +0000)]
Plug some leaks and expose others.
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Plug some leaks and expose
others.
Morten Welinder [Wed, 17 Mar 2004 18:53:42 +0000 (18:53 +0000)]
Forgot bug number.
Morten Welinder [Wed, 17 Mar 2004 18:51:03 +0000 (18:51 +0000)]
Don't leak the tooltip object.
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (create_prop_editor): Don't leak the tooltip
object.
Sanlig Badral [Wed, 17 Mar 2004 16:19:42 +0000 (16:19 +0000)]
Updated Mongolian translation
Sayamindu Dasgupta [Wed, 17 Mar 2004 16:10:42 +0000 (16:10 +0000)]
Updated Bengali translation
Morten Welinder [Wed, 17 Mar 2004 15:34:21 +0000 (15:34 +0000)]
Do nothing if we have no screen. Fixes #137260.
2004-03-17 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we
have no screen. Fixes #137260.
(shortcuts_add_bookmark_from_path): Simplify using check_is_folder
thereby fixing leak. Fixes #137259.
Morten Welinder [Wed, 17 Mar 2004 15:29:06 +0000 (15:29 +0000)]
Make this work when the slider buttons have been destroyed.
2004-03-17 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the
slider buttons have been destroyed.
(gtk_path_bar_remove): Make this work for slider buttons too.
Fixes http://bugzilla.gnome.org/show_bug.cgi?id=137257
Arafat Medini [Wed, 17 Mar 2004 07:31:10 +0000 (07:31 +0000)]
Updated faulty Arabic translation
2004-03-17 Arafat Medini <lumina@silverpen.de>
* ar.po: Updated faulty Arabic translation
Gareth Owen [Wed, 17 Mar 2004 03:02:30 +0000 (03:02 +0000)]
Updated British translations Updated British translations
2004-03-16 Gareth Owen <gowen72@yahoo.com>
* po/en_GB.po: Updated British translations
* po-properties.po: Updated British translations
Arafat Medini [Wed, 17 Mar 2004 00:48:23 +0000 (00:48 +0000)]
Updated Arabic translation
2004-03-17 Arafat Medini <lumina@silverpen.de>
* ar.po: Updated Arabic translation
Matthias Clasen [Wed, 17 Mar 2004 00:17:07 +0000 (00:17 +0000)]
Move the repositioning logic from _gtk_entry_completion() popup over here.
Wed Mar 17 01:20:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Move the repositioning logic from _gtk_entry_completion() popup
over here. Fixes #137355, reported by Niklas Knutsson.
Owen Taylor [Tue, 16 Mar 2004 21:25:16 +0000 (21:25 +0000)]
=== Released 2.4.0 ===
Tue Mar 16 13:29:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.4.0 ===
* configure.in: Version 2.4.0, interface age 0;
require glib-2.4.0, pango-1.4.0.
* configure.in: Change gtk_binary_version to 2.4.0;
there are some compatibility issues with older theme engines.
Owen Taylor [Tue, 16 Mar 2004 20:22:55 +0000 (20:22 +0000)]
=== Released 2.4.0 ===
Tue Mar 16 13:29:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.4.0 ===
* configure.in: Version 2.4.0, interface age 0;
require glib-2.4.0, pango-1.4.0.
* NEWS: Updates
* README.in: Updates
Christophe Merlet [Tue, 16 Mar 2004 19:37:54 +0000 (19:37 +0000)]
Updated French translation.
Jonathan Blandford [Tue, 16 Mar 2004 19:03:17 +0000 (19:03 +0000)]
Block the ::changed handler during the ::match-selected when done by
Tue Mar 16 13:54:07 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkentry.c (gtk_entry_completion_key_press): Block the
::changed handler during the ::match-selected when done by
keyboard.
Laurent Dhima [Tue, 16 Mar 2004 18:44:33 +0000 (18:44 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Tue, 16 Mar 2004 18:42:49 +0000 (18:42 +0000)]
Updated
Francisco Javier F. Serrador [Tue, 16 Mar 2004 18:23:04 +0000 (18:23 +0000)]
Updated Spansih translation.
2004-03-16 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spansih translation.
Updated ja.po. T.Aihana [Tue, 16 Mar 2004 14:05:13 +0000 (14:05 +0000)]
2004-03-16 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Maxim Dziumanenko [Tue, 16 Mar 2004 13:50:00 +0000 (13:50 +0000)]
Updated Ukrainian translation
2004-03-16 Maxim Dziumanenko <mvd@mylinux.com.ua>
* uk.po: Updated Ukrainian translation
Vincent van Adrighem [Tue, 16 Mar 2004 12:49:35 +0000 (12:49 +0000)]
Translation updated by Tino Meinen.
2004-03-16 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Christian Rose [Tue, 16 Mar 2004 10:29:12 +0000 (10:29 +0000)]
Updated Swedish translation.
2004-03-16 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Dmitry Mastrukov [Tue, 16 Mar 2004 05:58:33 +0000 (05:58 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Paisa Seeluangsawat [Tue, 16 Mar 2004 01:33:49 +0000 (01:33 +0000)]
Updated Thai translation.
2004-03-16 Paisa Seeluangsawat <paisa@users.sf.net>
* th.po: Updated Thai translation.
Dafydd Harries [Tue, 16 Mar 2004 00:55:53 +0000 (00:55 +0000)]
Updated Welsh translation.
Changwoo Ryu [Tue, 16 Mar 2004 00:43:03 +0000 (00:43 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Matthias Clasen [Tue, 16 Mar 2004 00:04:46 +0000 (00:04 +0000)]
Fix a typo in the docs.
Matthias Clasen [Tue, 16 Mar 2004 00:03:59 +0000 (00:03 +0000)]
Remove conflict markers.
Matthias Clasen [Mon, 15 Mar 2004 23:56:44 +0000 (23:56 +0000)]
Block the ::changed handler during the emission of ::match-selected.
Tue Mar 16 00:56:11 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press):
Block the ::changed handler during the emission of ::match-selected.
Partial fix for #137226.
* gtk/gtkfilechooserentry.c: Remove the no longer needed
no_pop_down flag.
Tor Lillqvist [Mon, 15 Mar 2004 23:41:14 +0000 (23:41 +0000)]
Updates.
2004-03-15 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
Federico Mena Quintero [Mon, 15 Mar 2004 23:15:31 +0000 (23:15 +0000)]
Only hide the "create folder" button in OPEN mode; all the others should
2004-03-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (update_appearance): Only hide the
"create folder" button in OPEN mode; all the others should show it
it.
(get_paths_foreach): Handle the editable row.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder):
Force a re-get of the folder so that the new directory gets added
to its hash table of file info.
Alastair McKinstry [Mon, 15 Mar 2004 22:40:25 +0000 (22:40 +0000)]
Updated Irish translation
Artur Flinta [Mon, 15 Mar 2004 22:07:39 +0000 (22:07 +0000)]
Updated Polish translation.
2004-03-15 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation.
Duarte Loreto [Mon, 15 Mar 2004 21:44:23 +0000 (21:44 +0000)]
Updated Portuguese translation.
2004-03-15 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Alessio Frusciante [Mon, 15 Mar 2004 21:08:10 +0000 (21:08 +0000)]
Updated Italian translation.
Mugurel Tudor [Mon, 15 Mar 2004 19:46:08 +0000 (19:46 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@go.ro>
2004-03-15 Mugurel Tudor <mugurelu@go.ro>
* ro.po: Updated Romanian translation by
Misu Moldovan <dumol@go.ro>
Federico Mena Quintero [Mon, 15 Mar 2004 19:23:54 +0000 (19:23 +0000)]
In the Save modes, set the Name entry of the file chooser if we get a
2004-03-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (update_from_entry): In the Save
modes, set the Name entry of the file chooser if we get a
nonexistent filename from the file entry. Fixes #135911.
(gtk_file_chooser_default_set_current_name): Oops, this should
also work if we are in CREATE_FOLDER mode.
* gtk/gtkfilesystem.c (gtk_file_path_real_copy): Use
gtk_file_path_copy().
* gtk/gtkfilechooserentry.c (check_completion_callback): Free the
path that we got from the model.
(completion_match_func): Use DISPLAY_NAME_COLUMN rather than a
hard-coded constant.
Christian Neumair [Mon, 15 Mar 2004 18:54:04 +0000 (18:54 +0000)]
Updated German translation.
Owen Taylor [Mon, 15 Mar 2004 18:53:37 +0000 (18:53 +0000)]
Don't leak the temporary font description. (Nils O. Selåsdal)
Mon Mar 15 13:50:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
Don't leak the temporary font description. (Nils O. Selåsdal)
Miloslav Trmac [Mon, 15 Mar 2004 18:25:33 +0000 (18:25 +0000)]
Update Czech translation
Federico Mena Quintero [Mon, 15 Mar 2004 18:12:51 +0000 (18:12 +0000)]
Only show the title string in OPEN/SELECT_FOLDER mode as it's
Mon Mar 15 12:51:17 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (location_popup_handler): Only show
the title string in OPEN/SELECT_FOLDER mode as it's open-specific.
Put a blank title for SAVE/CREATE_FOLDER; we are in string freeze,
so we'll fix it for 2.4.1 as #137272.
* gtk/gtkpathbar.c (gtk_path_bar_scroll_down): calculate
space_available correctly for RTL mode. w/o this, you can't
scroll down again. Fixes #137021.
2004-03-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkpathbar.c (gtk_path_bar_scroll_up): Queue a resize.
(gtk_path_bar_scroll_down): Likewise.
Owen Taylor [Mon, 15 Mar 2004 17:11:28 +0000 (17:11 +0000)]
Store the position of the file part and use that in
Mon Mar 15 11:40:43 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserentry.c: Store the position of the
file part and use that in check_completion_callback()
and match_selected_callback() to figure out where
to operate on the text, rather than recomputing the
information.
Jonathan Blandford [Mon, 15 Mar 2004 16:27:45 +0000 (16:27 +0000)]
set changing_folders to be true so we don't trigger a callback when we
Mon Mar 15 10:35:19 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): set
changing_folders to be true so we don't trigger a callback when we
remove the selection
(shortcuts_add_bookmarks): ditto
Owen Taylor [Mon, 15 Mar 2004 15:50:13 +0000 (15:50 +0000)]
s/seperator/separator/.
Mon Mar 15 10:47:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserentry.c: s/seperator/separator/.
Funda Wang [Mon, 15 Mar 2004 15:32:38 +0000 (15:32 +0000)]
Updated Simplified Chinese translation
Kjartan Maraas [Mon, 15 Mar 2004 15:22:05 +0000 (15:22 +0000)]
Updated Norwegian translation.
2004-03-15 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Owen Taylor [Mon, 15 Mar 2004 14:57:54 +0000 (14:57 +0000)]
Check for Control-Tab or Control-Shift-Tab, not any Control-key as a
Mon Mar 15 09:54:36 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Check for
Control-Tab or Control-Shift-Tab, not any Control-key
as a current event ... handles the case where a dialog
is triggered from a control accelerator better.
Jonathan Blandford [Mon, 15 Mar 2004 14:10:45 +0000 (14:10 +0000)]
implement correctly. (completion_match_func): Allow surpressing popdowns.
Mon Mar 15 08:48:48 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserentry.c (match_selected_callback): implement
correctly.
(completion_match_func): Allow surpressing popdowns.
(maybe_append_seperator_to_path): New function to add a separator
item to a display_name. Bad hack.
(check_completion_callback): Implement select-ahead as an idle.
(add_completion_idle): new function to handle select-ahead
(gtk_file_chooser_entry_do_insert_text): starf the select-ahead
idle.
(gtk_file_chooser_entry_focus): Override tab for completion.
(gtk_file_chooser_entry_activate): commit select_ahead when
activated.
* gtk/gtkfilechooserdefault.c (location_popup_handler): grab the
appropriate widget for the mode.
Tor Lillqvist [Mon, 15 Mar 2004 14:10:08 +0000 (14:10 +0000)]
[Win32] Look up installation prefix at run-time, replace prefix in
2004-03-15 Tor Lillqvist <tml@iki.fi>
* queryloaders.c (main): [Win32] Look up installation prefix at
run-time, replace prefix in PIXBUF_LIBDIR with that. (#106141)
Tor Lillqvist [Mon, 15 Mar 2004 13:07:04 +0000 (13:07 +0000)]
Merges from stable branch that had been left out. (#136282, J. Ali Harlow)
2004-03-15 Tor Lillqvist <tml@iki.fi>
Merges from stable branch that had been left out. (#136282, J. Ali
Harlow)
Changes for run-time lookup of installation location on Win32:
* Makefile.am (INCLUDES): Define GTK_PREFIX as $(prefix).
* gdk-pixbuf-io.c (get_sysconfdir): New function, look up
installation location at runtime and deduce GTK_SYSCONFDIR
from it.
(get_toplevel): Similar, for the top-level installation directory.
(correct_prefix): Replace compile-time prefix with run-time
prefix.
(get_libdir): Remove, not used any longer.
(gdk_pixbuf_io_init): Call correct_prefix() on Win32.
* queryloaders.c (query_module): [Win32] Change backslahses into
slashes in path.
Tor Lillqvist [Mon, 15 Mar 2004 11:55:55 +0000 (11:55 +0000)]
Don't just copy the whole GdkGCWin32 with a single assignment, that
2004-03-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_copy): Don't just copy the whole
GdkGCWin32 with a single assignment, that overwrites GObject's
private data (for instance ref_count). (#137012, John Ehresman)
Mark McLoughlin [Mon, 15 Mar 2004 09:07:59 +0000 (09:07 +0000)]
remove the unused "lowest_folder" GtkFileChooserDefault member. Leftover
2004-03-15 Mark McLoughlin <mark@skynet.ie>
* gtk/gtkfilechooserdefault.c: remove the unused "lowest_folder"
GtkFileChooserDefault member. Leftover from my original patch
for bug #136987.
Jonathan Blandford [Mon, 15 Mar 2004 06:54:34 +0000 (06:54 +0000)]
Rewritten to use the GtkEntryCompletion API more correctly. Now pops down
Mon Mar 15 01:50:28 2004 Jonathan Blandford <jrb@gnome.org>
* gtkfilechooserentry.c: Rewritten to use the GtkEntryCompletion
API more correctly. Now pops down the dropdown well.
* gtkfilesystem.c (gtk_file_path_get_type): New boxed type for the
FilePath.
* test/testfilechooser.c: disable preview widget temporarily.
It's not representative of a good preview widget.
Federico Mena Quintero [Mon, 15 Mar 2004 06:51:58 +0000 (06:51 +0000)]
Renamed from shortcuts_unselect_all(); now selects the row that
2004-03-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (shortcuts_find_current_folder):
Renamed from shortcuts_unselect_all(); now selects the row that
corresponds to the current folder, if any. Fixes #135916.
* gtk/gtkpathbar.h: Added prototypes for _gtk_path_bar_up() and
_gtk_path_bar_down().
Federico Mena Quintero [Mon, 15 Mar 2004 06:29:33 +0000 (06:29 +0000)]
Surround the drag-outside-to-remove-bookmarks code with "#if 0" blocks;
2004-03-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c: Surround the
drag-outside-to-remove-bookmarks code with "#if 0" blocks; it's
too unstable right now.
Owen Taylor [Mon, 15 Mar 2004 06:09:40 +0000 (06:09 +0000)]
Implement local_only by filtering the shortcuts and bookmarks list by
Sun Mar 14 23:36:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserdefault.c: Implement local_only by
filtering the shortcuts and bookmarks list by
gtk_file_system_path_to_filename (file_system, path) != NULL.
(#132894)
* gtk/gtkfilesystem.c (gtk_file_system_path_is_local): Add
a convenience function, may by interesting to push to the
file system vtable later for performance.
Federico Mena Quintero [Mon, 15 Mar 2004 05:42:51 +0000 (05:42 +0000)]
Allow the path to be NULL, so that people can ask for information about a
2004-03-14 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystem.c (gtk_file_folder_get_info): Allow the path
to be NULL, so that people can ask for information about a
parent-less file system root (e.g. get_info (get_folder ("/"), NULL)).
* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info): Allow
the condition describe above.
* gtk/gtkfilechooserdefault.c (get_file_info): Allow getting
information of root paths.
* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Handle root paths correctly.
Owen Taylor [Mon, 15 Mar 2004 03:53:20 +0000 (03:53 +0000)]
Mention GtkTreeViewSearchEqualFunc return value oddity here as well.
Sun Mar 14 22:32:36 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Mention
GtkTreeViewSearchEqualFunc return value oddity here as well.
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): On failure
to get a string to compare to, return TRUE (no match), not
FALSE (match). Handle %NULL string values gracefully.
Remove unused variable. (#135962, Mark McLoughlin)
Owen Taylor [Mon, 15 Mar 2004 03:33:26 +0000 (03:33 +0000)]
Fix typo
Owen Taylor [Mon, 15 Mar 2004 03:31:58 +0000 (03:31 +0000)]
Document #GtkTreeViewSearchEqualFunc and its backwards return value.
Sun Mar 14 22:27:59 2004 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtktreeview.sgml (linkend): Document
#GtkTreeViewSearchEqualFunc and its backwards return
value.
Morten Welinder [Mon, 15 Mar 2004 02:26:51 +0000 (02:26 +0000)]
Kill g_prints.
Owen Taylor [Mon, 15 Mar 2004 02:12:08 +0000 (02:12 +0000)]
Add _gtk_path_bar_up()/ _gtk_path_bar_down().
Sun Mar 14 21:03:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkpathbar.[ch]: Add _gtk_path_bar_up()/
_gtk_path_bar_down().
* gtk/gtkfilechooserdefault.c: Use _gtk_path_bar_up()/
_gtk_path_bar_down() as bindings for Alt-Up
and new Alt-Down. (Partly based on a patch by
Mark McLoughlin, #136987)
Federico Mena Quintero [Mon, 15 Mar 2004 02:09:22 +0000 (02:09 +0000)]
Fixes #136185, patch by Morten Welinder, with some changes.
2004-03-14 Federico Mena Quintero <federico@ximian.com>
Fixes #136185, patch by Morten Welinder, with some changes.
* gtk/gtkfilechooserdefault.c (check_is_folder): New helper function.
(shortcuts_insert_path): Check the path first with check_is_folder().
(gtk_file_chooser_default_set_current_folder): Likewise.
(gtk_file_chooser_default_add_shortcut_folder): Likewise.
(browse_widgets_create): Unref the size group.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder):
Handle the case where the file exists but it is not a directory.
(IconType): Add value for ICON_UNDECIDED.
(struct stat_info_entry): New structure to hold a file's struct
stat, its MIME type and its icon type.
(struct _GtkFileFolderUnix): Added a hash of struct
stat_info_entry, and flags to remember which info types we've read
so far.
(get_icon_type): Use a helper function for the icons-from-stat
types.
(gtk_file_system_unix_render_icon): Use the cached file info.
(gtk_file_folder_unix_get_info): Put the info in the cache.
(gtk_file_system_unix_get_folder): Create the cache of file info
structures.
* gtk/gtkfilesystem.c (gtk_file_info_set_display_name): Handle the
case where display_name is the same as the existing
info->display_name.
Owen Taylor [Mon, 15 Mar 2004 02:03:59 +0000 (02:03 +0000)]
#136672, reported by Christian Persch; fixes based on a patch by Soeren
Sun Mar 14 19:26:48 2004 Owen Taylor <otaylor@redhat.com>
#136672, reported by Christian Persch; fixes based
on a patch by Soeren Sandmann.
* gtk/gtkmenu.c: Change the handling of mixed gridded
and non-gridded menu items; the old method was causing
major performance problems even with the "avoid relayout
on destruction" hack put in recently.
Now we first lay out the gridded items and then put the
non-gridded items into empty rows / after the gridded items.
Layout is done in a central menu_shell_ensure_layout(). Also
avoid emitting property notifications when we initially
insert or attach items.
* gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the
unused menu_shell->menu_flag, and document it as unused
in the header.
* tests/testactions.c: Add a test of creating/removing
lots of items.
* test/testgtk.c: Add some more cruft to the menu test.
Matthias Clasen [Mon, 15 Mar 2004 01:32:20 +0000 (01:32 +0000)]
Add some docs.